<header>
    <div class="header_all_wrap mainWith clearFix">
        <div class="logoWrap clearFix">
            <?php if ($this->request->url == 'index.html' || $this->request->url == ''):?>
                <h1 class="zpLogo">
                    <a href="/"><img src="/img/logo.png" alt="教师招聘"></a>
                </h1>
            <?php else:?>
                <div class="zpLogo">
                    <a href="/"><img src="/img/logo.png" alt="教师招聘"></a>
                </div>
            <?php endif;?>
            <?php if(!isset($code)):?>
                <div class="zp_city_change">
                    <div class="zp_city_change_name">
                    <span class="currentCity" id="citySelect"><?php echo $_COOKIE['city']?>【切换城市】
                        <!--                        <span class="changeCity"></span>-->
                    </span>
                    </div>
                </div>
            <?php endif;?>

            <div class="zpHideBtn">
                <img src="/img/menu.png" alt="">
            </div>
        </div>
        <div class="zPin">
            <a href="/" class="<?php echo explode('/',$this->request->url)[0] === ''?'navSelect':''?>">
                首页
            </a>
            <a href="/jobs" class="<?php echo explode('/',$this->request->url)[0] === 'jobs'?'navSelect':''?>">
                找工作
            </a>
            <a href="/school" class="<?php echo explode('/',$this->request->url)[0] === 'school'?'navSelect':''?>">
                找学校
            </a>
            <a href="/zp" class="<?php echo explode('/',$this->request->url)[0] === 'zp'?'navSelect':''?>">
                招聘考试
            </a>
        </div>
    </div>
</header>
